Fixes #633

@lamblin . Unit tests to be added.
Can you use `utt.fetch_seed()` for the seed, instead of `1`, as explained on http://deeplearning.net/software/theano/extending/unittest.html?highlight=fetch_seed#using-random-values-in-test-cases ?