Improve randomness in tests
Merge pull request #226 from wesleylancel/random-tests

Merge pull request #226 from wesleylancel:random-tests