Added Directory test case.