UITextField category with convenience methods for testing.