Add a test for document.images.
Address some comments about the document.images test.
Split up tests for document.images.
Merge pull request #246 from Ms2ger/document-images

Add a test for document.images.