test for adding files.