Reset directory setting between each test case. Fix a bad setting.
Add test to parent directory access.