Test against Rubinius 2 and JRuby in different modes