Added a test for adding a forbidden directory to the directory scanning monitor.