Create app

wip
Are you passing a consumer object to the `MockConsumer` constructor, or is `consumer` actually a key/string? If `consumer` is a `MockConsumer` object, this might be simpler:

```python
self.consumer = consumer or MockConsumer()
```