added basic nodeunit tests