TDD way of solving prime factors with jasmine testing