Remove unnecessary local var in testMinimumCapacity()