Add deleteBooks and tests for this method.
Fix generate books.
Fix logging in dao.