Add luaL_dostring wrapper and use it for tests instead of external file