don't add begin, end certificate to document that allready have this strings
test for "don't add begin, end certificate"
Merge pull request #48 from dnbard/master

don't add begin, end certificate to document that already have them