[servers][Helpers] Move fixupForFilteringDefunctServer() to Helpers so that other tests can use it.