Created the export code and test.