Add test for if newhome exists

Also: set ownership for new folder and correct first if block