Modifications for running tests in PostgreSQL on Travis