More robust sql server testing