Fix a bug in PISM.model.ModelVecs.rename().
Add more tests.