Fixing an indexing error that popped up during my testing of TestRunnerAgent and testrunner, targeting streamhandler.StreamHandler