@Test
    public void appendTest() {
       
		ExtendedFile filecpy = new ExtendedFile("files/testExtendedFile_COPY.csv");
		
		if(filecpy.exists()) {
			System.out.print("test copy already exists. Preparing to delete ...");
			filecpy.delete();
			logger.debug(" [OK]");
		}
		
		filecpy = null;
		
		ExtendedFile file = new ExtendedFile("files/testExtendedFile.csv");
		file.copy("files/testExtendedFile_COPY.csv");
		if(!file.exists()) {
			logger.debug("File test_COPY.csv has not been created.");
			fail();
		}
		
		filecpy = new ExtendedFile("files/testExtendedFile_COPY.csv");
		filecpy.append("8.0;8.0;8.0;8.0;8.0");
		
		try {
			List<String> results = filecpy.extractLines(filecpy.countLines()-1, 1);
			List<Double> doubleList = Utils.strtokList(results.get(0));
			
			for(int i=0; i<doubleList.size(); i++)
				assertTrue(8.0 == doubleList.get(i));
		} catch (IOException e) {}
	}