ECKey: adds tests for makeRandom

This pull request adds tests for `ECKey.makeRandom`, which has previously not been under appropriate test.
It uses a stubbed RNG as the `secure-random` RNG is not the focus of this test.

`secure-random` was also upgraded to version `1.0.0` to use `randomBuffer`.