tests: fix DB tests for SqlsrvDriver [Closes #1309]