Refactored StreamComponentHelper and StreamComponentTest
Refactored logging to avoid expensive String concatenation