reformat unit tests