(#11) Start to add type unit testing to domain type.