Update selector.html

Added unit tests under `testFragment`, to ensure correct elements are returned when queried against a document fragment.