streamcollector test fix