testing periodic scheduling