Add descendant selector test
Fix endless loop