[bugfix] Make sure setUid, setGid and setSticky work for unsetting. Added further test cases to prove