I, the LORD, search the heart; I test the mind to reward a man according to his way, by what his deeds deserve.