The most important thing here is never to have lessons with family members or partners as has previously been said in this thread. Always go for professional driving instructors.
The primary reason is because whilst a family member or partner could say yes to giving some instruction, there is always the chance of picking up some of their bad habits aswell, hence the saying do as I say not as I do.
my sister is looking to learn and has ask my brother and I if either of us would show her how to drive before she starts actual lessons with an instructor but as my sister and I have never got on, I politely declined. The biggest mistake your husband has made is yelling at you, he should have known better because the 1 thing no instructor should do ( whether qualified or not ) is yell at anybody who is learning as it will inevitably harm their confidence and lead to anxiety.
If I may also add, everyone has to get used to how a vehicle works, accelerates and it's braking system as no 2 vehicles are alike in how they perform. I often had minor arguments with my dad while I was his backup driver when he was on motability and frequently he used to have a go at me for how I changed gears, however, I rapidly shut him down and said that he was only having a go at me because I didn't drive exactly how he did and he didn't like it when I also told him that no 2 drivers anywhere in the world drive exactly the same, we all pick up our little habits the more experience we get.
As for your test and your hubby saying you won't pass, definitely ignore him, he's just trying to beat you down and make you feel like you can't or won't do it, but know this, you can do it and most importantly, you will do it and never ever let him judge you or make you feel the way you do.
His behaviour is totally unacceptable, DO NOT tolerate it at all.
You've got this, go for it.