test code for book creating