Added test for adding files before starting daemon