Add parser tests for bug 25373

Change-Id: I2f2524731098f323e61bbc0442e7b56b11cdea37
Merge "Add parser tests for bug 25373"