Fix hexDec tests

Tests were failing because of strict type checking (string vs int)