it('should normalize array of negative values', () => {
      let array = [10000, 12, -389843, -100];
      let normalizedArray = array.map(d => normalize(array, d));
      // check the bound of normalized array is 0 to 100
      expect(d3.max(normalizedArray)).toEqual(100);