added tests for 'export'