Indeed, the caught exception is "Fail to get alias for output iterator". The thrown exception is not caught in the test. Is it captured in the getLinesForAlias()?