Remove code used for debug
Move the check of the test folder permission to testsuite/base_test.py
Add check if is a folder to file_check module
Rewrite of the file_check test to work in restricted environments too