ParserTest cleanup
Detect whether the parser was reset during execution and if so, throw an exception