sped up prime-factors-list
and added some tests