CRUNCH-322: Use InMemoryEmitter instead of StoreLastEmitter in unit tests.