fixing consumer controller unit tests