How does the following interaction with Swords to Plowshares and Death's Shadow work?
Yes, this is exactly what happens, so barring any other side effects*, you'll always end up with 13 life.

*: e.g. a card which doubles any life gained, like Boon Reflection (thanks @MichaelSnook)