Methods which test the Pet class