test cases for repeating succession