returns an array of values by day and hour, adds some tests