 		]
 		balUtil.each inputs, (input) ->
 			test input.testname, (done) ->
-				command = [cliPath, 'render']
+				command = [nodePath, cliPath, 'render']
 				command.push(input.filename)  if input.filename
 				balUtil.spawn command, {stdin:input.stdin,cwd:rootPath}, (err,stdout,stderr,code,signal) ->
 					return done(err)  if err

		]
		balUtil.each inputs, (input) ->
			test input.filename, (done) ->
				command = [nodePath, cliPath, 'render', pathUtil.resolve(renderPath+'/'+input.filename)]
				balUtil.spawn command, {cwd:rootPath}, (err,stdout,stderr,code,signal) ->
					return done(err)  if err
					console.log({expect:stdout,toEqual:input})

			input = {
				in: '*awesome*'
				out: '<p><em>awesome</em></p>'
				outPath: pathUtil.join(outPath,'outpath-render.html')
			}
			balUtil.spawn [nodePath, cliPath, 'render', 'markdown', '-o', input.outPath], {stdin:input.in, cwd:rootPath}, (err,stdout,stderr,code,signal) ->
				return done(err)  if err
				expect(stdout).to.equal('')
				balUtil.readFile input.outPath, (err,data) ->
					return done(err)  if err
					result = data.toString()
					expect(result).to.equal(input.out)
