test that executor waits for suspended tasks