add testPeriodBit, compile pass