Fixed test_invalid_export_dir