Adding assert for type and tag

Implements `assertWrappedElement` to check for correct wrapped element in typified elements.

Closes #53 
After adding `role` I also need to take care, that role is also not matching. In that case the name should stay as it is?