adds tests

adds https://github.com/jonschlinkert/replacements as a dep.