Fixed exit code passing on Windows XP
Added extra output for tests if they fail. Muted test on "bad" agents.