update testPeriod.