Improve autotest to fail also when cf-agent execution fails.