Changed comparison to deep equal
Added tests for className and tagName and fixed className
Renamed Subview.traverse Subview._traverse