 
     apm.run(['list'])
     expect(console.log).toHaveBeenCalled()
-    expect(console.log.argsForCall[1][0]).toContain 'test-module@1.0.0'
+    expect(console.log.argsForCall[4][0]).toContain 'test-module@1.0.0'
 
   it 'labels disabled packages', ->
     packagesPath = path.join(atomHome, 'packages')


    apm.run(['list'])
    expect(console.log).toHaveBeenCalled()
    expect(console.log.argsForCall[1][0]).toContain 'test-module@1.0.0 (disabled)'


    apm.run(['list'])
    expect(console.log).toHaveBeenCalled()
    expect(console.log.argsForCall[1][0]).toContain 'test-module@1.0.0'

  it 'lists the installed packages', ->
    packagesPath = path.join(atomHome, 'packages')
