change parsertest's output into string type