Ported test cases to LUA 5.2