Adapt test for a multi-Ruby safe encoding