Add ExportSemanticDataTest

Adding those tests before #460, to verify that we didn't mess up the export.