Reimplement ThrowingIntConsumerTest so that Callables return an integer

Same as ThrowingConsumerTest.