Fix hidden link test and update gemfile