Improve the Lua test: Test 'require' and escape all characters correctly