fixing pull/126, part 6

the latest factory factors polynomials in a different order,
so we fix a test