Add `config upgrade` tests