Testing asynchronous actions.