Added test for export