tests pass on windows

Prevent error on jRuby