Fix failing test for Periods