Added a component null check in case OutputResults() is called before a RunTests()