test validation check after custom error