add submit spy for test searchingRestaurant function