Writing test for getHoursArray
getHoursArray function added
getHours function added