fix tests after migration to jasmine 2.0