BigInteger: fix unit tests