ObjectAbstractServiceFactory tests refactoring