fix edit tests