Test for auto hiding keyboard