Fix Min DateValue test for SqlServer