Statistics for Identifying Defects Related to the Order in which Messages are Received in Message-Passing Systems