fix tests for jruby and rbx, remove unsuported 1.8.7