BitTools : Corrected the to_BitArray() function to correctly create BitArrays for unsigned binaries
modified tests to check the creation of BitArray for unsigned binary without errors