Added unit test coverage for the functions in TestServiceImpl