Setup postgresql db before running the tests.