testing book code