Getting Shiffman's changes on Random.js test