1) Added TestResult and functionality to save the test result