adding testing for mergesort