added assertions for shard failures in stats agg tests