expand/collapse nodes only if the number of test events is not too large