Fixes for test_recurrent in hypothesis_test.py
Fixes for test_recurrent in hypothesis_test.py

Summary:
/cc akyrola is it possible this test has been broken ever since https://github.com/caffe2/caffe2/commit/5614816fce8e0d01f6f34fd9272b56a5c658f649?

More generally, why do we still have `hypothesis_test.py` at all? In the case of this test, surely one of these files does more than this one old test:

* `operator_test/cudnn_recurrent_test.py`
* `operator_test/recurrent_network_test.py`
* `operator_test/rnn_cell_test.py`
Closes https://github.com/caffe2/caffe2/pull/843

Differential Revision: D5292109

Pulled By: akyrola

fbshipit-source-id: 6df5df6353a9741d1ae1b796adaab98382857527

sf-wind/caffe2,bwasti/caffe2,xzturn/caffe2,sf-wind/caffe2,pietern/caffe2,pietern/caffe2,sf-wind/caffe2,Yangqing/caffe2,bwasti/caffe2,bwasti/caffe2,Yangqing/caffe2,Yangqing/caffe2,sf-wind/caffe2,davinwang/caffe2,davinwang/caffe2,pietern/caffe2,caffe2/caffe2,xzturn/caffe2,davinwang/caffe2,bwasti/caffe2,Yangqing/caffe2,xzturn/caffe2,Yangqing/caffe2,xzturn/caffe2,davinwang/caffe2,pietern/caffe2,pietern/caffe2,sf-wind/caffe2,xzturn/caffe2,bwasti/caffe2,davinwang/caffe2