Make simpler tests that was crashing as I restricted too much the exception catched.

I review the code, we always put a tuple or a Theano variable in that
list. We only want to work with the tuple case. So just test for the
tuple. We don't want to cover the case where we have a Theano vector
with a know lenght.