Test field api: date pick.