Change event handler test to be more generic