Write stubbed test: event loop saves received chunk