added test to ensure that the text parser is used