adds test for testing animal.favorites route