testing/lua-struct: fix depends in subpackages