add test case for export