Better traceback for SaveTask and tests for SaveTask.