Refactored test for stream accessibility

I tested it on my machine and it seems to work as expected, but should be double checked since it has the potential to break playback-functionality.