Fix integer overflow in test.