Fix UnsupportedOperationException on AbstractList returned by Arrays.asList
Fix "java.lang.IllegalArgumentException: numBits must be non-negative" raised when a negative number is generated by Random as numBits parameter of BigInteger constructor (Thx to pashaz for pointing this issue)