Test bitwise invert for integers