extended testcase for jira Ticket 2620, addd directory function tests