add tonumber in tests as luaffi needs it