Ensure `_.random()` returns `1` or `0`.
Fix node 0.6 tests with npm registry's new cert.