Fix test that would fail sporadically