Test edit view.