I feel your pain - I was heartbroken when I failed, but after wallowing in my self pity, I booked another test
And my friend told me about the driving test cancellations app - driving test cancellations 4 all , I paid £18
The basic fee and within 3 days of joining I got another test 8 weeks earlier and luckily that time I passed.
So keep going it will be worth it .
Good luck