passing options instead of cb to spawnCommand
adding unit test for passing of opts object to spawnCommand
fixing other unit test deepEquals based on addition of opt param
removing console.log
response to comments, change assertions not conditionally change what is pushed to commands array
converting to use sinon.stub
converting asserts to sinon.assert stmts