ParserTester: use delegation instead of inheritance