Refactored the tests, got test for factors of 2 working