Use int for -X for UInt16

Because -((uint16_t)X) returns positive.
Use the max UInt8 value for -X for UInt8 test