Fix edit view test.