Sync parserTests with core.

This matches upstream commit bd2850d6125e6092b26d5af569b3f6e2b53a0228.

Change-Id: Ib27c943c591262e5b397d00c5fc24b7e6d0ad4d9