Add tests.
Merge pull request #2 from dotabuff/add-tests

Add tests