Work with merge sort and tests