Fixed a bug with not preserving on rename properly.
Added (currently broken) uninstall tests.