tests: database tests adapted for sqlsrv PDO driver