add test for animal controller