Various fixes from fuzz testing
Checking in fuzz tester
Successfully ran fuzzer with no exceptions and no segfaults