Added error handling and nodeunit test suite
Version update, README update