Add option to select all block element in case of caret
Some handling fixes
Deprecate old tests