Fix integer test to allow negative numbers.