add nodeunit test case