Rewrite getRangeSelectors() to use extractAllSelectors()
Made unit test for getRangeSelectors() slightly more realistic