tests for export_stage