added test for shardsBelowRepFactBeforeUpgrade