Workaround for Theano test weirdness (yet again)