Added test for ChainAdapterServiceFactory