Added Jasmine tests to solution.