add test for FavoritesController