Added test for non-sorting algorithms