fix test performance; update Gemfile.lock