MSSQL test case fix