testing wrap cfunction in Lua