Use .assertResourceContents() where we can in test_streams.py.