Test the text parser