unit test cases for utils->fs.py