Service Factory tests