quick fix to process directory test case