changed searchingRestaurant function test