Added test for animal as objects