       month: 6
       day: 4
   }
-  { # with observed day
+  { # with observed day (on a Saturday)
     name: 'independenceDay'
     main:
       info: name: 'Independence Day', bank: false

      day: 19
  }

  { # without observed day
    name: 'independenceDay'
    main:
      info: name: 'Independence Day', bank: true


        it 'direct function should return the date', ->

          # calls holidays.<date calculator function>
          date = holidays[test.name](test.main.year)
          assert.equal date.getTime(), testDate.getTime()

        it 'is available from getHoliday()', ->

          holiday = holidays.getHoliday testDate
          assert.deepEqual holiday, test.main.info

        it 'correct date for isHoliday() returns true', ->

          result = holidays.isHoliday testDate
          assert.equal result, true

        it 'other date for isHoliday() returns false', ->

          result = holidays.isHoliday new Date 2001, 2, 3
          assert.equal result, false

        if test.observed?

          observedDate = new Date(test.observed.year, test.observed.month, test.observed.day)

          it 'the date has observed date attached', ->

            # calls holidays.<date calculator function>
            date = holidays[test.name](test.main.year)
            assert.equal date.observed.getTime(), observedDate.getTime()

          it 'observed is available from getHoliday()', ->

            observedHoliday = holidays.getHoliday observedDate
            assert.deepEqual observedHoliday, test.observed.info
