It's not about failing or passing the test. There was never any room for failure because it was God Almighty in the flesh. See, that's what this is all about. It's about who Jesus actually was. See, if you removed the shell of the physical body and certain limitations that God had placed upon Himself in the second person of the Son, there is no room for God to consider in doing evil. If you are proposing that the Eternal Holy Son of God could have bad or evil feelings enter His thoughts for even a nano second, then this what I would call the Star Wars view. You know, where a person could be tempted to give into their feelings of good or hate (evil); As if they had two natures (One good and one bad) Jesus did not have any feelings of evil. Jesus was not bad in any way shape or form. There was nothing ever bad about Jesus. He is 100% good. Jesus is God and without sin. He is the Word made flesh. There was no fracture in the Godhead. God always acts in agreement with Himself. God always acts perfectly.
What Hebrews is saying is that when He was tempted in all points like us, it is saying that Jesus had suppressed (Not eliminated) His divine attribute of Omniscience so as to be tempted like we are. Meaning, God cannot be tempted because He has all knowledge of everything. However, Jesus had limited knowledge, and so the temptation was just like ours. Yet, Jesus did NOT EVER, consider in doing evil EVER. NOT ONCE. NOT EVER. It's not possible! Jesus Christ is the Word made flesh.
Jesus did not also consider in refusing in going to the cross either in the Garden. For if Jesus did consider in refusing in going to the cross, then that would make him hypocritical for rebuking Peter in him not wanting to go to the cross. See, Jesus had limited knowledge, and because of this limited knowledge He was asking the Father out of quick desperation if there was another way according to His will to deal with our sin. However, being in prayer with the Father, Jesus then realized that it must be His will that He take the cup (i.e. the cup that had all our sins within it). But Jesus never actually refused in going to the cross in the Garden. That never happened.