Updated invalid directory testcase