updated test.lua