fixed testFactors