added psql port configuration and test environment configuration