updated ShouldHaveFocus test