made a general test module
globbing tests
quicksort method for choosing a pivot