Added several tests for sorting.