Testing Rails and PostgreSQL