Unit tests for token replacer.
Merge pull request #135 from darkowlzz/tokenReplacer

Unit tests for token replacer.