Fixed undefined $output

  * [x] confirm that $this->lastOutput is the undefined $output
  * [x] confirm that $this->output is correct coz it's doesn't make sense
  * [x] if we don't enter in this assertion, $returnCode is undefined, looks wrong, confirm that too ?