Fix a typo in tests.

Signed-off-by: François de Metz <francois@stormz.me>
Extract the last_id and the send_chunked from the transistor.

Signed-off-by: François de Metz <francois@stormz.me>