Use pry-nav for ruby 2.1.x
Fixed various problems in unittest for Ruby 2.1.x