Rewriting unit tests for practice with async.
Adding test.js to repo.