add tests for exporting options