Added support for closing file handlers after merge for pytables versions older than 3.1.0
Added tests for TrackTools