TEST: add basic postgresql tests
TEST: add postgresql to travis