json tests are ok
ffi tests ok