Added average and std. dev methods to test result