Finished DogService class and its test class