Added selector matching tests