add test case for export

add the test case for export