tests: Added `Text::copy_to_native` test