chore(tests): Refactorings for easier development of widget tests

- Adds detailed error message in testutils.compareElementsRecursive.
- Simplied test/ngSnippet.html and test/jqmSnippet.html