test for editing