fix test calculating the actual size of a RuleFlowGroup before and after a clear