Nodeunit tests added