Revise pgsql test for Travis CI