Unit test for quickSort