Fixing test cases on OS X, since pubsetbuf doesn't work
Merge pull request #69 from smeenai/osxtestfix

Fixing test cases on OS X, since pubsetbuf doesn't work