test: add missing assertion
fix tag parsing
inline self closing logic
add test for self closing tags
2.0.3