change delete tests to use edit endpoints