Update and rename test.lua to lib.lua