Characterizing isomorphisms in terms of completely preserving invertibility or spectrum