Test properly chained ORM queries with date ranges; cleanup models.