Adds spec for quick sort