y_malloc shuffling and tests.
Added punycode.