5 verses have
test
in Edition Clear Qur'an by Talal Itani / Al-Maaida (The Table)

5:48And We revealed to you the Book, with truth, confirming the Scripture that preceded it, and superseding it. So judge between them according to what God revealed, and do not follow their desires if they differ from the truth that has come to you. For each of you We have assigned a law and a method. Had God willed, He could have made you a single nation, but He tests you through what He has given you. So compete in righteousness. To God is your return, all of you; then He will inform you of what you had disputed.

5:94O you who believe! God will test you with something of the game your hands and spears obtain, that God may know who fears Him at heart. Whoever commits aggression after that will have a painful punishment.

5:106O you who believe! When death approaches one of you, let two reliable persons from among you act as witnesses to the making of a bequest, or two persons from another people if you are travelling in the land and the event of death approaches you. Engage them after the prayer. If you have doubts, let them swear by God: “We will not sell our testimony for any price, even if he was a near relative, and we will not conceal God’s testimony, for then we would be sinners.”

5:107If it is discovered that they are guilty of perjury: let two others take their place, two from among those responsible for the claim, and have them swear by God, “Our testimony is more truthful than their testimony, and we will not be biased, for then we would be wrongdoers.”

5:108That makes it more likely that they will give true testimony, fearing that their oaths might be contradicted by subsequent oaths. So fear God, and listen. God does not guide the disobedient people.