make tests more robust to seed change.
Make explicit witch version of python is supported.
Merge pull request #1450 from nouiz/tests_fix

Fix test that fail depending of the seed