More unit testing for export.