adding func test for digraph command
argument for directory