Added tests for the DomainFilter.