Add some tests for the selector node.

This still needs to be tested in actual stylesheets, with e.g. nesting.
Add engine-level tests for the selector script node.

This adds two failing tests that represent an issue that we need to
overcome.