Tests to ensure prime factors ui specs