Tests for Lua-Factory