Fixed tests on Windows
Fixed tests on Windows

Invoking `psql` through child_process is a bad idea and as we can see
here the behavior is not only inconsistent but rather slow on windows.
This patch adds a few options to the exec command in order to keep
`psql` sane on Windows.

IrregularShed/nodal,rlugojr/nodal,abossard/nodal,nsipplswezey/nodal,nsipplswezey/nodal,keithwhor/nodal,nsipplswezey/nodal,IrregularShed/nodal,abossard/nodal