Added unit tests for copyFileAttributes, copyFileContent, and glfs_chmod.