private static void doDeleteTest()
	{
		System.out.print("Testing delete command ");
		try
		{
			// create an MVD from the Blessed Damozel
			File testFolder = new File( TEST_DATA+File.separator+BLESSED_DAMOZEL );
			String mvdName = createTestMVD( testFolder );
			File mvdFile = new File( mvdName );
			// choose versions at random to delete
			File[] versions = testFolder.listFiles();
			versions = removeDotFiles( versions );
			Random rand = new Random( System.currentTimeMillis() );
			MVD mvd = MVDFile.internalise( mvdFile, null );
			for ( int i=0;i<versions.length;i++ )
			{
				int n = rand.nextInt( mvd.numVersions() );
				// temporary debug
				String vId = new Integer(n+1).toString();
				String[] args0 = {"-c","delete","-m",mvdName,"-v",vId};
				MvdTool.run( args0, out );
				mvd = MVDFile.internalise( mvdFile, null );
				if ( mvd.numVersions() != versions.length-(i+1) )
					throw new MVDTestException("Failed to delete version!");
				Converter conv = new Converter();
				Graph g = conv.create( mvd.getPairs(), mvd.numVersions() );
				g.verify();
				System.out.print(".");
			}
			mvdFile.delete();
			testsPassed++;
			System.out.println(" test passed.");
		}
		catch ( Exception e )
		{
			doTestFailed( e );
		}
	}