Pet class created with passing tests
Refactored tests for pets