How to unit-test asynchronous operations? · HackerTrans