Images with duplicate names are invalid
validation of documents-presence implemented, but tests need to be fixed