Adding assert for type and tag

Implements `assertWrappedElement` to check for correct wrapped element in typified elements.

Closes #53 
Ah, with this you're indirectly testing wildcard matching method. But this new test I'm talking about would ensure that wildcard matching is applied to tag checking as well. Currently we hope that it is applied because in other tests we pass tag name only.