added support for buffers and tests to postcards

Closes #21