Adding more test and inversions for merge-sort