fix failing test in Lua 5.2