Implemented new test of RenameDirectoryCommand