Validate book queries, validation test for book queries