tested the insertbooking method