Fixed failed SqlServer tests