Fix specs to accept jruby exception message formats