adding test cases for bug 42353, code will be submitted in a separate review for Parsoid

Change-Id: I79f51608d70ce70570ccabd7ecfba75e7852a897
Merge "adding test cases for bug 42353, code will be submitted in a separate review for Parsoid"