Using Jasmine as a testing framework