Created Equals and HashCode Method for MapBackedDomainResolver

Add equals to allow comparision in jUnit