add AttachmentIsNotExistsException
add and change some document tests