Fix for serviceInvocationTest