* refactored unit test for helpers.template._escape
* refactored unit test for helpers.template._trim
+ additional test cases for unit test for helpers.template._trim
* docstring change for unit test for mediawiki helper