Added test cases for heap sort