Psalms 17:3

17:3 You have scrutinized my inner motives;

you have examined me during the night.

You have carefully evaluated me, but you find no sin.

I am determined I will say nothing sinful.

Deuteronomy 8:2

8:2 Remember the whole way by which he has brought you these forty years through the desert so that he might, by humbling you, test you to see if you have it within you to keep his commandments or not.

Deuteronomy 8:16

8:16 fed you in the desert with manna (which your ancestors had never before known) so that he might by humbling you test you and eventually bring good to you.

Deuteronomy 13:3

13:3 You must not listen to the words of that prophet or dreamer, for the Lord your God will be testing you to see if you love him with all your mind and being.