Added test where encoding needs 3 bytes per codepoint.