Setup postgresql test environment