Get tests passing under jruby 1.7.4

Signed-off-by: David Celis <me@davidcel.is>