adds tutorial nodeunit unit test from codebarbarian tutorial