Added tests for "edit".