Fix specs and upgrade Jasmine