improvements to `Book`

* fixed broken check of sentence length
* minor `Book` improvements
* a more useful `test.py`