mshtml: Added more range tests and fixes.