Fixed error in resauranttest with indexing