Fixed test environment for postgres