Testing for extended selectors and parent selectors