This is an actual test. We tell Hibernate to do the validation while building session factory.