Added tests for merge sort algorithm