prime factors test case