ticket:5 fixes edit view tests