Add a test for bitLength().