Make GetRandomDouble internal only using internals visible attribute for the tests.