Add postgres compatibility to .travis.yml
updated a bunch of tests