top down merge sort works. fixed bug in tests