Fix some tests
Add to safe_save and safe_delete docstrings