Exclude script invocation block from test coverage.