Add a few tests for textlib.extract_templates_and_params

https://mediawiki.org/wiki/Special:Code/pywikipedia/11736