Correct shell unit test imports and simplify hex2dec()