fix rack-test to pass in ruby 2.2