adding fail scenarios for exit codes