Wrote model tests for book