Works with jasmine 2.0.0