Add unit test for Lua update.