added tasks and tests for class Animal