fixing tests, Gemfile.lock