tests for combSort and countingSort