unit test for dec2bin and bin2dec converter.