Split module for Linux on Lua and adjust related test cases