async unit test