test for filemanager.py