ptests for the parser