Add parser and tests for parser for error reflection extension