Add test for export for dry run database