Corrects constructor in ParserMock class