Add stub text helper, and move #normalise_utf8_spaces to it