Implemented base unit testing for domain and mapping.