Add parser tests for bug 52468 and bug 52363.

Change-Id: I3a4361f8f40d941ec05b690311b33351f6425296
Merge "Add parser tests for bug 52468 and bug 52363."