Assert on non-unicode text in create_text