Adapting test cases to expect logs in stderr And also adapted them to remove any occurrences of HAVE_ROOT.