Added tests for DirectoryFilter