Added test to merge sort impl