testing: add test for export