Fix failed fuzz test cases on OSX.

Also removed some unsigned compares against zero that were causing warnings.

Fuzz test now gets past a point where it was failing on Xcode Release builds.  Waiting until tests run to completion to merge.