add #get_location_online_booking_settings and refactor test code to remove duplication