add an integration test for new async behavior