Added templates test case for favorites.