adds an htmlClass assertion

- updates the test.html file to include dom dependency