 
   it 'should support plain javascript kdapps', (done) ->
     stub = path.join stubsdir, 'plainjs'
-    bin [stub], (err, stdout, stderr) ->
+    bin [stub, '-p'], (err, stdout, stderr) ->
       should.not.exist err
       stdout.should.equal ''
       stderr.should.match /success/i


  it 'should support commonjs kdapps', (done) ->
    stub = path.join stubsdir, 'commonjs'
    bin [stub], (err, stdout, stderr) ->
      should.not.exist err
      stdout.should.equal ''
      stderr.should.match /success/i
      done()



  it 'should compile a kdapp', (done) ->
    stub = path.join stubsdir, 'nodeps'
    bin [stub, '-p'], (err, stdout, stderr) ->
      should.not.exist err
      stdout.should.equal ''
      stderr.should.match /success/i
