add some testing for TimePeriods