updating tests for jasmine 2