Refactored Consumer tests based on ThrowingConsumerTest and ThrowingBiCo...

...nsumerTest