[FileIO] Test for reading TINs.
[FileIO] Corrected readTIN() and made it more robust.