Allow running apps with provided service instances.

[#50701663]
Delete useless test