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

Tests to verify stream state is correct after starting/stopping containers.
I think we can defer any change to that until we have a test that might want to call that retrieve method while expecting 0 containers. Otherwise, I can see that the validation within the method itself makes sense for all current uses.