Reimplement ThrowingDoubleConsumerTest so that Callables return an integer

Same as ThrowingConsumerTest.