test ffi zlib
more testing on mag