[#544] Run tests with Postgres 8.4 and 9.1 on Travis