Reorder Gemfile to fix tests