Streaming tests

See #54