How do you say Good luck in exam German?

Good Luck=Viel Glück or when it's especially for an exam you add 'für die Prüfung'
So the whole phrase would be: "Viel Glück für die Prüfung"