adding test to animal.py