Fix test for broken LuaJIT versions