Fix tests on Rubinius
Fix tests on MRI 2.1.0.dev