Added tests for text module.

added tests for text module.
modified order of REGEX_LATEX_SUBS and REGEX_UNESCAPE_LATEX_SUBS in text.
Merge pull request #11 from acabhishek942/master

Added tests for text module.