fix a race in ground editor tests