Add model tests for book app.