Fixing nodeunit tests