added more tests around DateTimeField and fixed some bugs