Testing the PetService class