Tests for file/dir stat modifications implemented
Minor fix
Some access control code