Formated subtests and prevented the program from showing multiple error messages.