add tests for randomBytes
more tests for randomBytes and tests for randomBits
check the message of the error instead of the whole object
fix error message typo in test
add randomBytes and randomBits checks
fix typo in test title
Merge pull request #233 from SpiderOak/robust-core-random

Make client core randomBits and randomBytes more robust