Make edit work in IE7+
[tests] Make edit work in IE7+