added test for invoke using context ServiceInstance.