Test for focus