Testcase for date/time fields