test that the error message is right, or a buffer is returned
ensure a helpful error message in browsers without randomValues
3.2.6