title: Nested Unit test case in a loop is always successful
body: <p>I've refactored a test case from repeating lines to a loop. However no matter what values I put in my testdata object, the test is always correct. What am I missing?</p>
  
  <pre><code>it('should calculate the correct price using the datetimepicker', function() {
      var testdata = {
      bundesweit: {
        sonder: '26.00',
        mini: '24.00',
        klein: '48.30',
        kompakt: '57.70',
        mittel: '66.90',
        transporter: '75.90'
      },
      lokal: {
        sonder: '18.35',
        mini: '18.35',
        klein: '23.85',
        kompakt: '28.35',
        mittel: '42.40',
        transporter: '42.40'
      }
    };
  
    var testcase = function (tariff, carClass, expectedPrice) {
      it('distance: ' + scope.rental.distance +
         ', tariff: ' + tariff + 
         ', carClass: ' + carClass, function () {
        scope.rate.tariff = tariff;
        scope.rate.carClass = carClass;
        expect(scope.price().toFixed(2)).toEqual(expectedPrice);
      });
    };
  
    for (var tariff in testdata) {
      for (var carClass in testdata[tariff]) {
        var expectedPrice = testdata[tariff][carClass];
        testcase(tariff, carClass, expectedPrice);
      }
    }
  });
  </code></pre>