Cleanup tests for LuaJIT

- remove the brittle output string compares and validate the data
structures from within the Lua test.