Major refactoring and cleanup of pretty much everything. removed 1 test
(resultFile) and moved most of its functionality to testSort. By Henrik
& Andrée