Added unit tests for the ApiQueue::Worker class.