Orrrrrrr. You could bring an electric razor to the testing site and then shear it off in front of the proctor if they refuse to let you in and then shout "HOW BOUT NOW?"
I think you need to have your IDs on your desks during the test, but I don't think you can use it that way. It depends on what the proctor thinks/does.