Good grief, its not your driving instructors fault that the test examiner chose a different route to ask you to drive for your test. The examiner can ask you to drive anywhere, they are looking to see how well you drive.
Its clear you were not ready and you should take this as a positive, far better to fail you than pass you before you are ready and you end up in an accident. Take more lessons, get more practice and you could well pass the next time and be more confident next time. FYI i passed my test on the third attempt, on reflection i wasn:t ready the previous times, Good luck next time.