Update test scripts, implement deflateReset sandboxing in libz_h, and add cheri_fn for wrapping function pointers.