added test file for FavoritesController