added test for db service getter method