Added check for len(x) <= 1 in insertion sort; added merge sort
Added test for merge sort