adding unit test for async worker completion callback