Upgrading tests to Jasmine 2.