Text field test improvement