completed the function of generating testing report