update prime factors test