make *ContentTest more robust against leaked state