+ unit test on timeperiod