Changed gc.Equals to jc.SamePath for a test