Unit test rootfs.Remove

Remove duplicate lists of root fs subdirectories.