Added tests for DataDomain.