Added sinon.js to support unit testing.
Adding module/setup/teardown to tests