more test cases for fs.py