A group of workers who refused to submit to polygraph testing were dismissed. Now their union is taking their employer to court