adding temporal dir feature at unit test