Adding assert for type and tag

Implements `assertWrappedElement` to check for correct wrapped element in typified elements.

Closes #53 
Please rename `$criteria` (plural form) into `$criterion` (singular form) because we're checking single criterion in this method.