make tests explicitly wait for results rather than rely on asynchrony