Add some initial tests for a streaming API