Update with host test case, and bug fix .  Add the ref in the onChange callback in data (data.ref)