Before starting your test, you should ad -PP- to your name (PP = Piraten-Prüfung = pirate test). Most germans won't attack you when you do this; they might even leave you some monsters.
Example :
Ordinary name : SidVicious
Name durring test : -PP-SidVicious
The same thing also works for those helping somebody to do their test :
In that case ad PP-Helfer to your name (PP-Helfer = Priraten-Prüfung-Helfer = Helper for Pirate test)
EDIT : Some may also use PPH, H or Helfer
Don't forget that you should never attack somebody who has changed his name in this way (even if we are in war with his guild), otherwise they will hunt us down. That's one way to easily start a war and we already have enough trouble