Add service factory providers.
Check if test are run in-container.