twiddle test cases