jasmine angular service test wierdness