* Use dynamic host and port for Postgres in tests * Add helper functions for test database host and port