There are tests for a prophet. The key to your text is practice magic.
2 Kings 17:17
They sacrificed their sons and daughters in the fire. They used
magic and witchcraft to try to learn the future. They sold themselves to do what the Lord said was evil. They did this to make him angry.
Isaiah 44:25
False prophets tell lies, but the Lord shows that their lies are false. He makes fools of those who do magic. He confuses even the wise. They think they know a lot, but he makes them look foolish.
Daniel 1:20, “And in all matters of wisdom and understanding that the king inquired of them,
he found them ten times better than all the magicians and astrologers that were in all his realm.”
Deuteronomy 18:10 Don’t sacrifice your sons or daughters in the fires on your altars. Don’t try to learn what will happen in the future by talking to a fortuneteller or
by going to a magician, a witch, or a sorcerer.
Leviticus 19:26 “You must not eat any meat with blood still in it.
“You must not try to use different kinds of magic to tell the future.
Deuteronomy 13 Easy-to-Read Version (ERV)
13 “A prophet or someone who explains dreams might come to you and tell you that they will show you a sign or a miracle. 2 And the sign or miracle they told you about might come true. Then
they might ask you to follow other gods (gods you don’t know) and say to you,
‘Let’s serve these gods!’ 3
Don’t listen to them, because the Lord your God is testing you. He wants to know if you love him with all your heart and all your soul. 4 You must follow the Lord your God. Respect him. Obey his commands and do what he tells you. Serve the Lord your God, and never leave him. 5 Also, you must kill that prophet or person who explains dreams, because they told you to turn against the Lord your God. And it was the Lord your God who brought you out of the land of Egypt, where you were slaves. They tried to pull you away from the life he commanded you to live, so you must kill them to remove this evil from your people.
12 “The Lord your God has given you cities to live in. Sometimes you might hear some bad news about one of these cities. You might hear that 13 some troublemakers from your own nation are persuading the people of their city to do bad things. They might say to the people of their city,
‘Let’s go and serve other gods.’ (These gods would be gods that you never knew before.) 14 If you hear this kind of news, you must do all you can to learn if it is true. If you learn that it is true, if you prove that such a terrible thing really did happen,
Deuteronomy 17 Easy-to-Read Version (ERV)
15 When that happens, you must be sure to choose the king that the Lord your God chooses. The king over you must be one of your own people. You must not make a foreigner your king. 16 The king must not get more and more horses for himself. And he must not send people to Egypt to get more horses, because the Lord has told you, ‘You must never go back that way.’ 17 Also, the king must not have too many wives, because that will make him turn away from the Lord. And he must not make himself rich with silver and gold.
18 “When the king begins to rule, he must write a copy of the law for himself in a book. He must make that copy from the books that the priests from the tribe of Levi keep.
Deuteronomy 18 Easy-to-Read Version (ERV)
20 “But a prophet might say something that I did not tell him to say. And he might tell people that he is speaking for me. If this happens, that prophet must be killed. Also a prophet might come that speaks for other gods. That prophet must also be killed. 21 You might be thinking, ‘How can we know if something a prophet says is not from the Lord?’ 22 If a prophet says he is speaking for the Lord, but what he says does not happen, you will know that the Lord did not say it. You will know that this prophet was speaking his own ideas. You don’t need to be afraid of him.
Jeremiah 29:4-10 Easy-to-Read Version (ERV)
4 This is what the Lord All-Powerful, the God of the people of Israel, says to all the people he sent into captivity from Jerusalem to Babylon: 5 “Build houses and live in them. Settle in the land. Plant gardens and eat the food you grow. 6 Get married and have sons and daughters. Find wives for your sons, and let your daughters be married. Do this so that they also may have sons and daughters. Have many children and grow in number
in Babylon. Don’t become fewer in number. 7 Also, do good things for the city I sent you to. Pray to the Lord for the city you are living in, because if there is peace in that city, you will have peace also.” 8 The Lord All-Powerful, the God of the people of Israel, says, “Don’t let your prophets and those
who practice magic fool you. Don’t listen to the dreams they have. 9 They are telling lies, and they are saying that their message is from me. But I didn’t send it.” This message is from the Lord.
10 This is what the Lord says: “Babylon will be powerful for 70 years. After that time, I will come to you people who are living in Babylon. I will keep my good promise to bring you back to Jerusalem.