Added FFI tests