Test for headerid extension

Thought it'd be nice to have this test, ie. there was a bug recently due to `elem.id` instead of `elem.get(id)` - this should now be caught.

Have a nice day :)