Fix test code to write parsing time.