Booking rules with test cases