for testing of book generation