Test/CLI: fix test must upgrade before downgrade