fixing broken unit tests; adding missing Mock and imports
creating a new link processor class to encapsulate processing link markup