assertValidHtml for checking html in test cases.

implemented using tidy.

Change-Id: Idb98af785ca07ecd7afeebadf7396ecdc03a91bc
Merge "assertValidHtml for checking html in test cases."