Two groups tests modified to handle zero variance elements