Improve randomized tests for signed and unsigned integers.