DocumentHandlerTest tests if modified state is reset

adds more tests

adds tests for focus events

(0) -10 -3 +3 tip

mercurial