Add new parserTests for image attributes coming from templates.

Bug: 49400
Change-Id: I49e92f5ddf9ee32347e6b738329f16f9ca129888
Merge "Add new parserTests for image attributes coming from templates."