Made tests for Sorting