Between 1.6 and 1.7 something changed on random numbers generation. The tests at the moment are run using the lts version (1.6) but failing on 1.7. Ideally the tests should be robust enough to be run on both versions