Wrote and organised tasks for PopulatorAndFlusherTest()