test for text parser