Reset directory setting between each test case. Fix a bad setting.
Set application.debug to true by default
Add test to parent directory access.