make test work with lua and luajit