private static void measuredDeletionTest(String testName, int setSize, int threadCount) {
        initializationTests();
    	
        // Delete all songs from db
        insertSongs(setSize);
        ArrayList<Integer> songIds = dbModel.getAllSongIds();
        long start = System.currentTimeMillis();
        for(Integer songId : songIds) {
        	dbModel.deleteSong(songId);
        }
        long end = System.currentTimeMillis();
        results.add(new Result(testName + ": delete all songs (s)", (end - start) / 1000));
        results.add(new Result(testName + ": average delete time", (end - start) / setSize));
        
        // Delete 100 random songs
        insertSongs(setSize);
        songIds = dbModel.getAllSongIds();
        ArrayList<Integer> songsToDelete = new ArrayList<Integer>();
        Random rand = new Random();
        for(int i = 0; i < 100; i++) {
        	int index = rand.nextInt(songIds.size());
        	songsToDelete.add(songIds.get(index));
        	songIds.remove(index);
        }
        start = System.currentTimeMillis();
        for(Integer id : songsToDelete) {
        	dbModel.deleteSong(id);
        }
        end = System.currentTimeMillis();
        results.add(new Result(testName + ": randomly delete 100 songs (s)", (end - start) / 1000));
        results.add(new Result(testName + ": average delete time", (end - start) / 100));
    	
        shutdownTests();
    }