Add tests on text copying.