Adding DateField tests.

Fixes #24