added assertions for shard failures in stats agg tests
added more assertions to aggs tests