add test case for repeated task