fix test cruft introduced by #2304