Image and link methods

Depends on #627.
I feel like we should be consistent with test names, some of these are sentences (have trailing punctuation), and others are phrases. I prefer phrases, personally.

Should this only happen when a document is new, or should it also happen if a document has all of its content deleted?