Test javaRandom more. Add assert.raises.