The consumer variable hides a field from the ConsumerTest. I'd rename it to something to avoid confusion.