Testing that dynamic selectors have expected specificity values depending on the context node.