Check that user's data is sorted if load statement does not have the *pre-sorted* assertion.

Fixed erroneous test cases that loaded a file with a duplicate key.
13 files changed