added nodeunit test