The test isn't whether you choose to cooperate and practice restraint with peers in a tribe, in a community, or in a pack for self preservation. That's self interest, that's not morality. Even lion prides, ant colonies, and monkey troops do that. Morality is not a synonym for self interest.
The test is what you do to strangers, to the weak, to the sick, the diseased, the disadvantaged, or even to rivals. The test is when your actions of cooperation and self preservation extend beyond the self interest of the tribe or pack.
It's obvious from human history that orphans, lepers, prisoners, strangers, widows, rivals were generally not recipients of cooperation and compassion. Orphans could be ritually sacrificed to pagan gods, the sick and weak were often abandoned or driven away, sharing and mercy for strangers and rivals tended to be the exception, not the rule. Might makes right is the moral code humans have a tendency to gravitate towards.