Modifications to the tests in 'pylearn2/tests/rbm/test_ais.py' in order to reduce their running time.