Test checking interactions done by dependency verifier for optional service.