update readme; add test.lua