reformat ErrorRestTests