I haven't managed to find it but there will be legislation or regulation somewhere allowing you to drive the vehicle for the purpose of getting a WOF.

I've already linked to it.......but as I already said, the same bit of legislation also says the vehicle must be safe to operate. Think about it - worst case scenario you can't drive a car on the road with no brakes, just because you're on the way to get tested...

True.  You also can't drive it to the garage to get fixed either :)