Fixing test so that it runs on jrubies