test creating a book