Testing async tasks

Have a look here.