tests for date models