An exercise in learning the Jasmine test framework