worked in some flexibility for tensor-lua tests