add testing gems to Gemfile, and add pg for production