simplify, rename and make tests more robust to race conditions
added npm dependencies, a `.gitignore`, and instructions about tests
add basic tie tests, closes #5
Merge pull request #8 from danse/testing

Testing