Yvonne,
I know it must be really frustrating for you to fail your driving test on parallel parking and considering the circumstances you described, it must have been really tough as well for anyone, let alone a learner driver. Some people have it easy and some have it difficult to be quite honest. It just wasn't your day, I'd say!
Don't be put off by what happened and concentrate on your next
driving test instead of going over and over on this incident trying to figure out whether it was fair or not. Every setback in life teaches a lesson and I believe this will prepare you better for your next test and your driving in general.