More stream tests

See #54
Removes accidentally commited docs
Updates buffer read/write functions to pass meta-data as meta-data
rather than as separate arguments.

See #151