Tests for AdapterAbstractServiceFactory