added exception to save_csv to test