Fix aggregate loss export test

Fixed mock data for `test_export_aggregate_loss`.