randomHex.js was returning with non zero exit code even though tests were passing. Fixed so now it returns with 0. Also added tests to ensure that dowstream data is never empty.