Added CLI tests for export.