Candidates in state races tout their pro-union credentials