Added some more factoring utils tests
Tests for prime utils