add tests for linear allocators, fix dumb bug in kmheapf() that caused it to return an error on success