Add a test for the Text constructor.