Basic setup of NHibernate and testing functionality.