Added test data file generator & sorted-check