Added first unit tests (now tied to `npm test`). I've updated the readme on how to run the smoke-test.