tests: Add a unit for LinkGenerator
We need to test both the link regular expression, to ensure it matches both the plain links and the link with additional text; and the LinkGenerator class.
We need to test both the link regular expression, to ensure it matches both the plain links and the link with additional text; and the LinkGenerator class.