added unit tests for IdResolverFactory