Make sure packaging tests that register custom commands also clear them
4 files changed