add tests to BigInteger helper methods