PDI-2875 - Environment Variables in Text File Input Error Handling doesn't work

Test case and cleanup
PDI-2875 - Environment Variables in Text File Input Error Handling doesn't work
Merge pull request #476 from pavel-sakun/PDI-2875

PDI-2875 - Environment Variables in Text File Input Error Handling doesn't work