reformatting unittest code list