Fix file.directory in test mode to show all the changes instead of just one

Fix file.directory in test mode to show all the changes (user, group and/or mode) instead of just one