extract method _create_pat32()
use _create_pat32() in test_clear_field()
use _create_pat32() in test