Added tests for export_logs.