1) wrapupMarkupGetPattern() as hasHead(). Changed test cases. 2) Added a small part of method wrapupMarkup().