[TASK] Add more unit tests for the selectors.

This change removes the tests for the :first-child pseudo-selector because
both the :first-child and the :last-child selectors currently are
broken (issue #51).