Added a C test for importing and a D test for exporting.