added test for onValidate callbacks which now take form and values as parameters