Unit tests for workers.