test booking query