Add export and import tests