Passing pg integration test