fixed failed scenarios from output, added console output capture, consol...

...e output debug