Adding few assertions during EF & NHibernate configuration