Image and link methods

This was moved to a dedicated `images.js` test file.