Add simple mockup test with async tasks.

This is mainly to play with the interface for tasks
and work out a good way to stream data to tasks.