Adds test case for quick sort