Added unit tests for test service.