improve fuzzer, refactor some array tests