Added unit test cases for Worker class

No match.