edit and delete tests