Added a unit test for basic usage and using node-unit