Lua: small defensive-programming style change (also increasing test coverage)
Lua: small defensive-programming style change (also increasing test coverage)

z00m128/sjasmplus,z00m128/sjasmplus,z00m128/sjasmplus