Add tests for counting sort.