Add spec for exam before_validates.