Bring back the test suite, fix problems with stream client

Now correctly builds URIs for streaming service.