Banerjee's test is usually used to detect dependencies in rectangular and trapezoidal regions and is highly accurate for single dimensional array references. However, Banerjee's test loses accuracy in the presence of multi-dimensional array references. The Lambda test, on the other hand, produces more accurate results when multi-dimensional array references are involved. However, the Lambda test is designed to test for dependence only in rectangular regions. This paper presents a method to extend the applicability of the Lambda test to trapezoidal regions.