Test to check getRandomBytes uses HTML5 CryptoAPI