Add oninput/onchange so tests work
Had misinterpreted the spec, test sorted it out