Implement working winner calculator w tests

This patch also adds a test directory, where future tests should go, and updates package.json to reflect some new dev dependencies.