test validation with custom helper