test for management command exporting CSV data