update test to work with jasmine 2