Fix the Lua code-scanner: OBIWAN

Adds tests as well.