Test case to verify TextInputFormat-Bug

I found this bug during the development of customer use-cases.

I guess its an easy fix but I want to focus on the use-cases right now (and I have a workaround).

The integration test will obviously fail for this pull request because it contains a test case for an unfixed bug.