Added validation to the WizardTest2 class to show how can you use it.