add tests for worker producer