updated tests.py and folders.py