new-parser: pass the tests

Make the new parser pass the tests