Implemented tests for the sorts, with each sort doing its thing on a thread.