fix tests with jasmine 2