Fix SQL Server tests