Fixed Jasmine specs (2.9 have different syntax).