reconfigure test environment to use postgres db

also increased capybara timeout to 3 minutes