Improve Selection IE support

-   Add several unit tests of Selection
-   No failures in unit tests of Selection
-   One failures in unit tests of Indenty
-   One failures in unit tests of AutoIndenty