attempt to fix brittle integration test due to async code