update wtest.lua to use new ffi modules