Write test cases to verify the I/O of the following methods of Animal and Dog.
- In the test class' setup method, create an instance of Animal and Dog.
- Animal object has the correct name property.
- Set a species and verify that the object property of species has the correct value.
- Invoking the walk method set the correct speed on the both objects.
- The animal object is an instance of Animal.
- The dog object is an instance of Dog.