Write a test for five periods