setup test for calling on change events