Added new -iobuf option and unit tests.
Merge pull request #86 from nkindlon/master

Added new -iobuf option and unit tests.