added required setPeriodType() method call to Period unit test