Working through Test Driven Development in Javascript but writing the tests in Jasmine.