Add and use a utility function for generating a random Unicode string to test setting string bodies.