Test the internal method for calculating the minimum number of bits required to store a value