updated tests for jasmine 2