Format tests results output