add failing test for case where we update the input value programatically
fix onchange test
change updateNumber(offset) to set(new_value)