private static void doAddTest()
	{
		System.out.print("Testing add command ");
		try
		{
			File testFolder = new File( TEST_FOLDER );
			// remove mvds
			File[] mvds = testFolder.listFiles();
			for ( int i=0;i<mvds.length;i++ )
			{
				if ( mvds[i].isFile() && mvds[i].getName().endsWith(".mvd") )
					mvds[i].delete();
			}
			if ( !testFolder.exists() )
				testFolder.mkdir();
			File testData = new File( TEST_DATA );
			if ( !testData.exists() )
				throw new MVDTestException("Missing test data folder");
			String[] testFolders = testData.list();
			if ( testFolders.length == 0 )
				throw new MVDTestException("Nothing in test data folder");
			for ( int i=0;i<testFolders.length;i++ )
			{
				File subFolder = new File( testData, testFolders[i] );
				if ( subFolder.isDirectory() )
					createTestMVD( subFolder );
			}
			testsPassed++;
			System.out.println(" test passed.");
		}
		catch ( Exception e )
		{
			doTestFailed( e );
		}
	}