closing testData file after reading it - thus fixing the problem with too many open files during unit tests