Added basic AR tests, but the pg gem is segfaulting.
Updated AR version and pg version.
Working tests.