Adding unittests for the Domain and CrossSection classes