Add hexDiffToInt function
Change test script to fail if any subpart fails