Tests on x86 might fail, possibly due to a 16-bit sub overflow