Moved code to generate unit tests results