Added all the tests for process dir