Added test for quick sort