Update tests to pass on 1.8.7

Unsure whether this will pass on ree, but it will pass on all
supported versions of 1.8.7 (p371 mri, jruby18-mode and rubinius).