added some test cases for the services