test setNeedsUpdateStyling count