test acceptance of uint8 or uint16 values