Tests with an async object that needs to be deallocated