adds tests for focus events

(0) -10 -1 +1 tip

mercurial