add nodeunit and sample test