Fixes test failure for CRuby