add test results to window on end