Added more utils for checks.

Added 'TestUtils.deepCheck' and improved 'TestUtils.checkElements'.
Added more tests.