fix test on services with jasmine 2. ref #13