fix datetime tests: min & max