test on focus/blur event