Fix problem with tests in jruby 1.7.13

By https://github.com/railsware/js-routes/pull/123 pull request
@bogdan Fixed