Adds streaming I/O tests

See #54