fix test.lua: change advance to next