Adjust anchorNode and focusNode when they are null from the selection
Update tests for AOSP browser. Remove execCommands in selectoin test.