Unittest for delete method in edit_space.py