Test for editing, with request assertion