Added test case for repeated multiple transitions