type checking test not properly formatted.  theano.tensor.TensorSharedVariable should be the correct comparison.