tests: add HTML5 element+@id tests

The event-based test case does not currently include all anchors.
These will be added in tandem with the implementation.