finalizing test_export_db as a sudo test