add tests for isEditable
add testcases for containsFocus method