fix uninstall profile. added uninstall tests