This tests that onchange is not fired after a form field's type changes.