[widget] Remove special case.
[tests] Allow for single line expectations.
[tests] Test selector inheritance.
[widget] Encapsulate node filtering.