add unit testing for BigToCompact, CompactToBig, and CalcWork