Adding several tests for sort.