fix datetime/time test cases