Add pry to the Gemfile
Fix the functional tests