Fix failing test on SqlServer