timeperiod unit test in progress