fix(lua/res1): make sure the test works with Lua 5.1

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>