(bug 42997, bug 44291) slightly adjustment to tests

- added additional assertion in editonoff
- cheanged how input field gets cleared to trigger event correctly

Change-Id: I3d037d77db7745bb758d751d0b409c7c25e3bec2
Merge "(bug 42997, bug 44291) slightly adjustment to tests"