blocking on future result so that the test is always determinstic