Created some unit tests with Sinon and Mocha; will be creating more soon.