Made test case variable local