Added testing for all sorting algorithms