Fixed running tests with Rubinius 2 on Travis.