Book model and tests