tests for min and max supporting Date