[MERGE FOR GA] XD-1946 - Added stream state tests

Tests to verify stream state is correct after starting/stopping containers.
Isn't this a bit brittle, `contains()`. What if some pervert (like me) names his module "mysource"? Same goes for the `contains(streamname)` part. I believe if we are to test against parts of something (the moduleId), then we need to expose the parts.