Added postgres as Travis service dependency and fixed failing tests