changed test db to pg