add tests for export with params